package com.zang.blogz.constant;

import cn.dev33.satoken.exception.DisableLoginException;

/**
 * @Author: 橘贝贝
 * @Description:  权限有关常量
 * @DateTime: 2022/7/22 13:22
 **/
public class SecurityConstant {



    public static final Integer IS_PARENTS = -1;

    public static final String USER = "用户";

    public class Info{

        public static final String JSON_EXCEPTION = "JSON格式异常";
        public static final String NOT_ROLE_EXCEPTION = "您不是 {%s} 请联系管理员";
        public static final String NOT_PERMISSION_EXCEPTION = "您没有当前资源权限请联系管理员";
        public static final String DISABLE_LOGIN_EXCEPTION = DisableLoginException.BE_MESSAGE + "{" + "%ld" + "}秒后解封";
    }
}
